package com.dongdongshop.service;

import com.dongdongshop.admin.model.TbItemCat;
import com.dongdongshop.admin.vo.ItemCatVO;

import java.util.List;

public interface ItemCatService {
    List<ItemCatVO> getByParentId(Long parentId);

    void add(ItemCatVO catVO);

    ItemCatVO getById(Long id);

    void update(ItemCatVO catVO);

    void delete(Long[] ids);

    Long selectId(Long id);

    List<ItemCatVO> getAll();

    ItemCatVO getId(Long parentId);
}
